package com.example.database.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@Controller
public class TestController {
    @RequestMapping(value="/test",method= RequestMethod.GET)
    public String test(Map<String,Object> map){
        map.put("msg","成功");
        return "success";
    }
}
